<template>
<el-carousel :interval="5000" trigger="click" arrow="always" class="indexBanner" height="180px">
	<el-carousel-item v-for="item in banner" :key="item.id">
		<img :src="item.src" alt="">
	</el-carousel-item>
</el-carousel>
</template>

<script>
import Util from '../libs/util'

export default {
	data() {
		return {
			banner: [{
					'src': require('../assets/banner2.jpg'),
					'id': 1
				},
				{
					'src': require('../assets/banner3.jpg'),
					'id': 2
				},
				{
					'src': require('../assets/banner4.jpg'),
					'id': 3
				}
			]
		}
	},
}
</script>
